#include "hal.h"
#include "hal_config.h"
#include "./i2c/i2c.h"
#include "./exio/exio.h"
#include "./disp/disp.h"
#include "./touch/touch.h"
#include "./sd/sd.h"

void hal_init(void)
{
    // i2c initialization
    hal_i2c_init();
    // exio initialization
    hal_exio_init();
    // display initialization
    hal_disp_init(hal_io_expander);
    // touch initialization
    hal_touch_init();
    // sd card initialization
    sd_init(hal_io_expander);
}
